<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  
</head>
<body>
  <div id="app">
    <!-- <div v-bind:id="a" v-bind:aa="b">111</div>
    <img v-bind:src="img1" alt=""> -->
    <div :id="a" :aa="b">111</div>
    <img :src="img1" alt="">
  </div>
  <script src="./vue.js"></script>
  <script>
      const vm = new Vue({
        // 绑定vm到 视图上， 定义vm控制视图的范围
        el: '#app',
        data: {
          a:"box",
          b: 'aaaaa',
          img1: 'http://img.netbian.com/file/2022/0626/small0030223BdcZ1656174622.jpg'
        }
      })
  </script>
</body>
</html>